package demo.spring.aop;

import org.springframework.stereotype.Service;

/**
 * @Author: tyzhang
 * @Description:
 * @Date: Created in 22:27 2018/1/30
 */
@Service
public class Book {
    public static void add(){
        int sum=0 ;
        System.out.println(sum);
        System.out.println("Book  add().......");
        getPrintln();

        System.out.println("Book  add().......");
        System.out.println("Book  add().......");
        System.out.println("Book  add().......");
        System.out.println("Book  add().......");
        System.out.println("Book  add().......");
        System.out.println("Book  add().......");
        System.out.println("Book  add().......");
        System.out.println("Book  add().......");
        System.out.println("Book  add().......");
        System.out.println("Book  add().......");
    }

    private static void getPrintln() {
        System.out.println("Book  add().......");
    }

}
